#include <iostream>
#include "MatlabViewer.h"



int main(int argc, char* argv[]){
	
	mclInitializeApplication(NULL,0);
	MatlabViewerInitialize(); 

	int num = 1;
	double numbrIn = 1;
	std::cout<<"now we have " << numbrIn << std::endl;
	
	std::cout << "PROVA:" << std::endl;
	mwArray array_in(num, 1, mxDOUBLE_CLASS, mxREAL);	//<-- Riga incriminata
	/*array_in.SetData(&numbrIn,num);
	mwArray array_out;

	Prova(1, array_out, array_in);
	array_out.GetData(&numbrIn, num);
	std::cout<<"now we have " << numbrIn << std::endl;*/

	mclTerminateApplication();
	MatlabViewerTerminate();

	return 0;
}